Derived attributes, since they don't correspond to real values in the database, are read-only; it makes no sense to write a derived value.
To add a new attribute to your entity:
Alternatively, you can use the button on the toolbar. In either case, a new attribute with the name "Attribute" appears in the entity's list of attributes.
For example, you can create an attribute called fullName that combines the firstName and lastName attributes.
For example, to concatenate the firstName and lastName attributes in Oracle, type the text:
firstName||' '||lastName
The Sybase equivalent is:
firstName+' '+lastName
Figure 29. Adding a Derived Attribute
The text you supply in the Definition field must be valid SQL for your database. While you can use either the internal or external names for simple attributes in this field, for derived and flattened attributes you have to use the internal names (flattened and derived attributes have no external names). For consistency's sake, you may want to use only internal names in this field.
Table of Contents
Next Section